<div ng-class="{true: all_class.header.icon_bg[current_class]}[true]" class="navbar-header aside nav-xs">
    <a class="btn btn-link visible-xs" data-toggle="class:nav-off-screen,open" data-target="#nav,html">
        <i class="icon-list"></i>
    </a>
    <a href="#/main/music_information" class="navbar-brand text-lt">
        <i class="icon-earphones"></i>
        <img src="images/logo.png" alt="." class="hide">
        <span class="hidden-nav-xs m-l-sm">Music</span>
    </a>
    <a class="btn btn-link visible-xs" data-toggle="dropdown" data-target=".user">
        <i class="icon-settings"></i>
    </a>
</div>
<ul class="nav navbar-nav hidden-xs">
    <li>
        <a href=".navbar-header,#nav" data-toggle="class:nav-xs,nav-xs" class="text-muted">
            <i class="fa fa-indent text"></i>
            <i class="fa fa-dedent text-active"></i>
        </a>
    </li>
</ul>
<form class="navbar-form navbar-left input-s-lg m-t m-l-n-xs hidden-xs" role="search">
    <div class="form-group">
        <div class="input-group">
            <span class="input-group-btn">
              <button type="submit" class="btn btn-sm bg-white btn-icon rounded"><i class="fa fa-search"></i></button>
            </span>
            <input type="text" class="form-control input-sm no-border rounded" placeholder="搜索歌曲...">
        </div>
    </div>
</form>
<div class="navbar-right ">
    <ul class="nav navbar-nav m-n hidden-xs nav-user user">
        <li class="dropdown">
            <a href="" class="dropdown-toggle bg clear" data-toggle="dropdown">
              <span class="thumb-sm avatar pull-right m-t-n-sm m-b-n-sm m-l-sm">
                <img src="{{user.headImg}}" alt="...">
              </span>
               {{user.nickname}}<b class="caret"></b>
            </a>
            <ul class="dropdown-menu animated fadeInRight">
                <li>
                    <a href="">
                        <span class="badge bg-danger pull-right">0</span>
                        通知
                    </a>
                </li>
                <li>
                    <a href="#">帮助</a>
                </li>
                <li class="divider"></li>
                <li>
                    <a ng-if="user.id == 0" href="" ui-sref="user_login">登陆/注册</a>
                    <a ng-if="user.id != 0" href="" ng-click="logout()">注销</a>
                </li>
            </ul>
        </li>
    </ul>
</div>